<template>
  <div class="container">
    <process :src='process1'></process>

    <div>
        <apptitle titleName="企业选择"></apptitle>
        <div class="marginT20">
            <Table align='center' stripe ref="selection" :columns="columns4" :data="data1"></Table>
        </div>
    </div>
    <div class="marginT50">
        <Row>
            <i-col span='2' offset='8'>
                <Button @click="next" type="success">下一步</Button>
            </i-col>
            <i-col span='2'>
                <Button>返回</Button>
            </i-col>
        </Row>
        
    </div>

        
      
  </div>
</template>

<script>
import process1 from '@/assets/images/process1.png'
import process from '@/components/process'
import apptitle from '@/components/title'
export default {
        data () {
            return {
                process1:process1,
                columns4: [
                    {
                        type: 'selection',
                        width: 60,
                        align: 'center'
                    },
                    {
                        title: '公司名称',
                        align: 'center',
                        key: 'companyName'
                    },
                    {
                        title: '统一社会信用代码',
                        align: 'center',
                        key: 'socialCreditCode'
                    },
                    {
                        title: '企业法人',
                        align: 'center',
                        key: 'legalPerson'
                    }
                ],
                data1: [
                    {
                        companyName: '国网电子商务有限公司',
                        socialCreditCode: 123456789123456780,
                        legalPerson: '王强'
                    },
                    {
                         companyName: '国网电子商务有限公司',
                        socialCreditCode: 123456789123456780,
                        legalPerson: '王强'
                    },
                    {
                        companyName: '国网电子商务有限公司',
                        socialCreditCode: 123456789123456780,
                        legalPerson: '王强'
                    },
                    {
                         companyName: '国网电子商务有限公司',
                        socialCreditCode: 123456789123456780,
                        legalPerson: '王强'
                    }
                ]
            }
        },
        methods: {
            next(){
                this.$router.push({
                    path:'./companyMsg'
                })
            },
            handleSelectAll (status) {
                this.$refs.selection.selectAll(status);
            }
        },
        components:{
            process,
            apptitle
        }
    }
</script>

<style>
.chunk-title{
    font-size: 20px;
    font-weight: 700;
}
.dash-border{
    height: 5px;
    border-top: 1px dashed #DADADA;
    border-bottom: 1px dashed #DADADA;
    margin-top: 18px;
}
</style>